package com.example.mybatisdemo1.mapper;

import com.example.mybatisdemo1.pojo.SysMenus;
import com.example.mybatisdemo1.pojo.SysUsers;
import com.example.mybatisdemo1.pojo.SysUsersVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface SysUsersMapper {

    /*
    *  @Param("username") String username,
            @Param("departmentId") Integer departmentId,
            @Param("userType") Integer userType
    * */
    List<SysUsers> selectSysUsersNameDepartmentIdType(SysUsers sysUsers);

    List<SysUsers> selectSysUsersDepartmentIdType(
            @Param("department_id") Integer departmentId);

    List<SysUsers> selectSysUsersType();
}
